provider Releases POST
/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/ @utdk/sentry
/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/ Upload a New Project Release File
Upload a new file for the given release.
Unlike other API requests, files must be uploaded using the traditional multipart/form-data content-type.
Requests to this endpoint should use the region-specific domain eg. `us.sentry.io` or `de.sentry.io`
The optional 'name' attribute should reflect the absolute path that this file will be referenced as. For example, in the case of JavaScript you might specify the full web URI.
- organization_id_or_slug path required
- The ID or slug of the organization.
- string
- project_id_or_slug path required
- The ID or slug of the project.
- string
- version path required
- The version identifier of the release.
- string
Try it
Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sentry from '@utdk/sentry';
await sentry.uploadANewProjectReleaseFile()